{include file="header.html"}
<body class="gr">

<div class="navBar">
	<a class="left" href="javascript:history.back()"><i class="return"></i></a>
	<div class="titleView-x">计算结果</div>
</div>

<div class="home-casy-detail cart-casy-detail main-top">
	<div class="view">
		<div class="title ge-bottom">社保类型：{$data.name}</div>
		<div class="table clear-after">
			<div class="header">
				<div><span>缴纳项目</span></div>
				<div><span>基数</span></div>
				<div><span>企业缴纳</span></div>
				<div><span>个人缴纳</span></div>
				<div><span>缴纳<br />比例</span></div>
				<div><span>金额<br />(元)</span></div>
				<div><span>缴纳<br />比例</span></div>
				<div><span>金额<br />(元)</span></div>
			</div>
			<div class="body">
				{foreach from=$data.rs item=g}
				<div class="row">
					<div><span>{$g->name}</span></div>
					<div><span>{$g->money}</span></div>
					<div><span>{$g->firm}%</span></div>
					<div><span>{number_format($g->firm_money, 2)}</span></div>
					<div><span>{$g->person}%</span></div>
					<div><span>{number_format($g->person_money, 2)}</span></div>
				</div>
				{/foreach}
			</div>
			<div class="footer">
				<div><span>共缴纳合计：{$data.total_price}元</span></div>
				<div><span>社保小计：{$data.total}元</span></div>
				<div><span>公积金小计：{$data.gjj_total}元</span></div>
				<div><span>个人缴纳：{$data.person_total}元</span></div>
				<div><span>企业缴纳：{$data.firm_total}元</span></div>
			</div>
		</div>
	</div>
	
	<div class="buttonView">
		<a href="wap.php?app=cart&act=info&province_id={$province_id}&city_id={$city_id}&casy_id={$casy_id}" class="btn">前往购买</a>
	</div>
</div>

{include file="footer.html"}
